package com.zing.service;

import com.zing.dto.EmployeeDTO;
import com.zing.dto.EmployeeLoginDTO;
import com.zing.dto.EmployeePageQueryDTO;
import com.zing.entity.Employee;
import com.zing.result.PageResult;

public interface EmployeeService {

    //员工登录
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    //新增员工
    public void add(EmployeeDTO employeeDTO);

    //查询分页员工
    PageResult pageQuery(EmployeePageQueryDTO employeePageQueryDTO);

    //启用禁用员工账号
    void startOrStop(Integer status, Long id);

    //根据id,查询员工信息
    Employee getById(Long id);

    //更新用户信息
    void update(EmployeeDTO employeeDTO);
}
